﻿using System;

namespace Progream04
{
    class Program
    {
        static void Main(string[] args)
        {
            int num1 = 0;
            int num2 = 0;
            int num3 = 0;//整型
            bool res1;
            bool res2;//布尔类型

            //逻辑运算符&
            res1 = num1 > 0 & num2++ > 1;
            Console.WriteLine(res1);
            Console.WriteLine("num2=" + num2);

            res2 = num1 > 0 && num3++ > 1;
            Console.WriteLine(res2);
            Console.WriteLine("num3=" + num3);

        }
    }
}
